Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relative probability metric #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Relative probability metric #5

wants to merge 2 commits into from

Conversation

janowicz
Copy link
Contributor

Calculations for relative probability plots, to assist with assessing the influence of explanatory variables in a model specification. E.g. With all other explanatory variables held at their median value, assess the probability of an alternative with a variable interest at its 5th perentile value and 95th percentile value, and then use the delta in probability as a measure of variable influence.

Added as a SimulationChoiceModel method, so that the relative probabilities can be calculated for any model. Also added a method for calculating probability of a single alternative (given existing alternatives) with user-speficied characteristics. These methods could also be framed in terms of utilities rather than probabilities, e.g. for relative utility plots, but utilities are not currently easily exposed.

relative_probability

@janowicz janowicz requested a review from sablanchard April 18, 2017 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant